<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title><?=$site_title?> | <?=$title?></title>
<meta content="text/html; charset=utf8" http-equiv="content-type"/>
<?foreach ($styles as $file_style):?>
        <?=html::style($file_style)?>
    <?endforeach?>
    <?foreach ($scripts as $file_script):?>
        <?=html::script($file_script)?>
    <?endforeach?>
</head>

<body>
<div id="container">
  <!-- Start of Page Header -->
  <div id="page_header">
     
    <div id="page_heading">
        <div style="float: left">
            <input type="image" src="<?=URL::site('public/images/view/company_logo.jpg'); ?>" class="button" />
        </div>
      <h2><?=$site_title?></h2>
      <h2><?=$site_description?></h2>
    </div>
     
     <!-- Start of w_topmenu --> 
     <? if (isset($top_menu)):?>
       <?=$top_menu?>
     <?endif?>
     <!-- End of w_topmenur -->
     
     <!-- Start of w_enterAdmin --> 
     <? if (isset($enterAdmin)):?>
       <?=$enterAdmin?>
     <?endif?>
     <!-- End of w_enterAdmin -->
     
     <!-- Start of w_search --> 
     <? if (isset($search)):?>
       <?=$search?>
     <?endif?>
     <!-- End of w_search --> 
    
     <div class="clearthis">&nbsp;</div>
  </div>
  <!-- End of Page Header -->
  
  <!-- Start of w_menu -->
  <? if (isset($menu)):?>
   <?=$menu?>
  <?endif?>
  <!-- End of w_menu -->
 
  <!-- Start of block_left -->
  <? if (isset($block_left)):?>
                <div id="left_sidebar">
                    <!-- Start of w_login -->
                    <!-- Start of w_categories -->
                    <!-- Start of w_cat -->
                    <? foreach ($block_left as $lblock):?>
                        <?=$lblock?>
                    <?endforeach?>
                </div>
            <?endif?>
 <!-- End of block_left -->
  
  <!-- Start of block_center -->
              <? if (isset($block_center)):?>
                <div id="main_content">
                    
                    <? foreach ($block_center as $cblock):?>
                        <?=$cblock?>
                    <?endforeach?>
                  <div class="h_divider">&nbsp;</div>
               </div>
            <?endif?>
  <!-- End of block_center -->
  
  <div class="clearthis">&nbsp;</div>
  
  <!-- Start of block_footer -->
             <? if (isset($block_footer)):?>
                <div id="page_footer">
                    
                    <? foreach ($block_footer as $fblock):?>
                        <?=$fblock?>
                    <?endforeach?>
                   <div class="clearthis">&nbsp;</div>
                </div>
            <?endif?>
  

    

  <!-- End of block_footer -->
</div>
</body>
</html>

